package com.ruoyi.driver.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆路线对象 carowner_vehicleroute
 * 
 * @author Wevon
 * @date 2024-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarownerVehicleroute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 起点 */
    @Excel(name = "起点")
    private String startpoint;

    /** 终点 */
    @Excel(name = "终点")
    private String ending;

    /** 逻辑删 */
    private String del;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartpoint(String startpoint) 
    {
        this.startpoint = startpoint;
    }

    public String getStartpoint() 
    {
        return startpoint;
    }
    public void setEnding(String ending) 
    {
        this.ending = ending;
    }

    public String getEnding() 
    {
        return ending;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startpoint", getStartpoint())
            .append("ending", getEnding())
            .append("del", getDel())
            .toString();
    }
}
